<?php if (!defined('IN_SITE') ){
		die('Hacking Attemp!');
	} //session_start(); 
	define("SESSION_DEADLINE", 1200); 
	//echo getcwd();
	//echo $_SERVER["PHP_SELF"];
	 
	$site_base_href ="http://". $_SERVER['HTTP_HOST']."/";
	$rel_root="/var/www/vhosts/world-express.net/vnzooz.com"; 
	if(@ereg("localhost",$site_base_href)){
		$site_base_href  = "http://localhost/nhacgiaitri/";
		$rel_root="D:/Appserv/www/nhacgiaitri";
		 	define("DATABASE_SERVER", "localhost");
			define("DATABASE_USER_NAME", "root"); 
			define("DATABASE_PASSWORD", "123456");
			define("DATABASE_NAME", "nhacgiaitri");
	}else{ 		
		define("DATABASE_SERVER", "localhost");
		define("DATABASE_USER_NAME", "0110_dbyuh"); 
		define("DATABASE_PASSWORD", "HN18811941?yuh");
		define("DATABASE_NAME", "0110_magazine");
		//echo getcwd();
		$site_base_href  = "http://www.nhacgiaitri.net/";
		$rel_root="/var/www/vhosts/tapchiwebsite.vn/nhacgiaitri.net";
		$refix='nhac_';
		$prefix='nhac_';
		
	}	
?>